function form_submit(){
	$("#login").submit();
}
function form_reset(){
	$("#login").reset();
}

function modifyPwd(){
	var password = $.trim($("#password").val());
	if(password.length<6){
		alert("密码长度不能少于6个字符!");
		return ;
	}
	var repawd = $.trim($("#repawd").val());
	if(password!=repawd){
		alert("两次输入密码不一致!");
		return ;
	}
	$("#mPwd").submit();
}
function restPwd(){
	$("#mPwd").reset();
}